﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;

using Stp.Core;

namespace Stp.Test
{
    [TestClass]
    public class ActionResultTest
    {
        [TestMethod]
        public void ActionResult_DefinitionTest()
        {
            ActionResult aResult = new ActionResult();
            aResult.IsSuccessful = true;
            aResult.Messages = "testmessage";

            Assert.AreEqual(true, aResult.IsSuccessful);
            Assert.AreEqual("testmessage", aResult.Messages);
        }
    }
}
